static void _httpGet(http_entity_t *http)
{
    queue *q = factoryGetQueue(http->queue);
    if (q == NULL) {
        http_set_status(http, 404);
    } else {
        char *data = queueOut(q);
        if (data == NULL) {
            http_set_count(http, 0);
        } else {
            http_set_count(http, 1);
            http_append_to_buffer(http, data);
        }
    }
}
